package io.renren.modules.node.dao;

import io.renren.modules.node.entity.BizNode;
import io.renren.modules.node.entity.BizNodeExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface BizNodeMapper {
    long countByExample(BizNodeExample example);

    int deleteByExample(BizNodeExample example);

    int deleteByPrimaryKey(String code);

    int insert(BizNode record);

    int insertSelective(BizNode record);

    List<BizNode> selectByExample(BizNodeExample example);

    BizNode selectByPrimaryKey(String code);

    int updateByExampleSelective(@Param("record") BizNode record, @Param("example") BizNodeExample example);

    int updateByExample(@Param("record") BizNode record, @Param("example") BizNodeExample example);

    int updateByPrimaryKeySelective(BizNode record);

    int updateByPrimaryKey(BizNode record);
}